/**
 * @author B@lbino
 */
/* Palabra que empiece en May y no mayor de longitud */
 function validaPalabraLon(id,longitud){
 	var objName = document.getElementById(id);
	var valName = objName.value;
	var patronMay = /^[A-Z]/;
	if((valName.length > longitud) || (patronMay.test(valName) == false) || (!isNaN(parseInt(valName)))){
		/*var objLabel = document.getElementById("label_" + objName);
		objLabel.className = "error";*/
		return true;
	}else{
		return false;
	}
 }
 
 function jumpTous(idSelect1,idSelect2){
	var sel = document.getElementById(idSelect1).value;
	var sel1 = document.getElementById(idSelect2).value;
	window.location = "administrar.php?valor="+sel+"&valor1=-";
}
							
function jumpToisbn(idSelect1,idSelect2){
	var sel = document.getElementById(idSelect1).value;
	var sel1 = document.getElementById(idSelect2).value;
	window.location = "administrar.php?valor="+sel+"&valor1="+sel1;
}